package com.yiren.dbaa.module.practice_set.site.contract;

import com.yiren.backstage.currency.entity.SiteEntity;
import com.yiren.dbaa.currency.api.CommonCallBack;

/**
 * @author lwb
 * @date : 2022/10/26 13:53
 * @description:  发布契约
 */
public interface ReleaseContract {

    interface Presenter {
        /**
         * 发布考场规则
         * @param site
         * @param userId
         * @param updateDetails
         * @param updateMode
         */
        void releaseSiteRule(SiteEntity site,String userId,String updateDetails,int updateMode);

    }

    interface Model {
        /**
         * 发布规则
         */
        void publishRule(SiteEntity site,String userId,String updateDetails,int updateMode,CommonCallBack callBack);


    }

    interface View {


    }


}
